package com.lsj.spring.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author Lsj
 * @version 1.0
 * @date 2021/6/24 19:35
 */
@Data
@Component
public class JdbcConfig {
    @Value("${jdbc.username}")
    private String username;
    @Value("$(jdbc.password)")
    private String password;
}
